package com.xingmang.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/21 15:23
 */
@ApiModel("应用首页设置新增请求")
@Data
public class AppSettingSaveDTO {
    @ApiModelProperty(value = "应用ID",required = true)
    @NotNull(message = "应用ID不能为空")
    private Long appId;
    @ApiModelProperty(value = "首页地址",required = true)
    @NotEmpty(message = "首页地址不能为空")
    private String homeUrl;
}
